home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
DEF
/
Convert
/
Vectors
/
vector-to-timesheet
Wrap
Text File
|
1998-10-23
|
1KB
|
42 lines
vector-to-timesheet rows length &rest vectors
Prints the output of vectors onto strings of given length and number of rows. The output can be pasted onto the song source and used as compile-song timesheets or def-rhythm strings. See vector-to-strings.
(vector-to-timesheet 8 32 'invert
(count-distribution
(vector-round 0 8 (gen-sin 2 0.5 64))))
" ------------------------- "
"--------------------------------"
"---- ----------- ---"
"--------------------------------"
"--------------------------------"
"--------------------------------"
"--------------------------------"
"----------- ----------"
(vector-to-timesheet 8 64 'normal
(gen-sin 3 0.5 64)
(gen-sin 2 0.5 64 30)
)
" ------ ---- ------ -- "
" -- ---- -- -- -- -- -- "
"---- ---- -- -- "
"-- ---- -- ---- -- --"
" -- -- -- -- -- -- "
" -- -- -- -- -- --"
" -- -- -- -- -- ---- "
" -- ------ ---- ---------- "
(vector-to-timesheet 4 16 'invert
(gen-ramp 3 0.5 64 90)
(gen-sin 2 0.5 64 180)
(gen-sin 1 0.5 64 30)
)
"- - ---- -"
" - - -- - "
" -- - -- - -"
"- - ---- -- "